package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;

@Table(name = "notpaid_goods")
public class NotpaidGoods {
    /**
     * 序列
     */
    @Id
    @Column(name = "ng_id")
    private Long ngId;

    /**
     * 订单id
     */
    @Column(name = "ng_orderId")
    private Long ngOrderid;

    /**
     * 商品id
     */
    @Column(name = "ng_goodsId")
    private Long ngGoodsid;

    /**
     * 仓库id
     */
    @Column(name = "ng_warehouseId")
    private Long ngWarehouseid;

    /**
     * 占库存数量
     */
    @Column(name = "ng_occupyCount")
    private Integer ngOccupycount;

    /**
     * 获取序列
     *
     * @return ng_id - 序列
     */
    public Long getNgId() {
        return ngId;
    }

    /**
     * 设置序列
     *
     * @param ngId 序列
     */
    public void setNgId(Long ngId) {
        this.ngId = ngId;
    }

    /**
     * 获取订单id
     *
     * @return ng_orderId - 订单id
     */
    public Long getNgOrderid() {
        return ngOrderid;
    }

    /**
     * 设置订单id
     *
     * @param ngOrderid 订单id
     */
    public void setNgOrderid(Long ngOrderid) {
        this.ngOrderid = ngOrderid;
    }

    /**
     * 获取商品id
     *
     * @return ng_goodsId - 商品id
     */
    public Long getNgGoodsid() {
        return ngGoodsid;
    }

    /**
     * 设置商品id
     *
     * @param ngGoodsid 商品id
     */
    public void setNgGoodsid(Long ngGoodsid) {
        this.ngGoodsid = ngGoodsid;
    }

    /**
     * 获取仓库id
     *
     * @return ng_warehouseId - 仓库id
     */
    public Long getNgWarehouseid() {
        return ngWarehouseid;
    }

    /**
     * 设置仓库id
     *
     * @param ngWarehouseid 仓库id
     */
    public void setNgWarehouseid(Long ngWarehouseid) {
        this.ngWarehouseid = ngWarehouseid;
    }

    /**
     * 获取占库存数量
     *
     * @return ng_occupyCount - 占库存数量
     */
    public Integer getNgOccupycount() {
        return ngOccupycount;
    }

    /**
     * 设置占库存数量
     *
     * @param ngOccupycount 占库存数量
     */
    public void setNgOccupycount(Integer ngOccupycount) {
        this.ngOccupycount = ngOccupycount;
    }
}